package com.steve.testng;

import org.testng.annotations.Test;

/**
 * @Author: STEVE
 * @Description: 依赖测试1-被依赖方法pass
 * @since: 2025-02-25
 */
public class TestCase6 {

    @Test(enabled = true)
    public void TestNgLearn1() {
        System.out.println("this is TestNG test case1");
    }

    @Test(dependsOnMethods = {"TestNgLearn1"})
    public void TestNgLearn2() {
        System.out.println("this is TestNG test case2");
    }

}
